package string;

public class LengthDemo {
    public static void main(String[] args) {
        String str="我爱java!";
        int length=str.length();
        System.out.println("len:"+length);

    }
}
